const Mock = require('mockjs')

module.exports = () => {
	return Mock.mock({
		"banners|5": ["@image(375x200, @color, images)"],
		"list|50": [{
			"id": '@id',
			"image": "@image(80x120, @color, item)",
			"title": "@ctitle",
			"price|1-10": 1
		}],
		"addressList|4": [{
			"id": "@id",
			"nickname": "@cname",
			"tel": /1[3-9]\d{9}/,
			"address": "@city",
		}]
	})
}